package cn.tedu._04mvcboot02.common.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    OPERATIOIN_SUCCESS(2000,"操作成功"),
    OPERATION_FAILED(3000,"操作失败"),
    THROWABLE_ERROR(8888, "Throwable异常");
    private Integer code;
    private String msg;
}







